package com.ruoyi.stock2.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 精挑细选的对象 search_from_es_choose
 *
 * @author ruoyi
 * @date 2021-09-08
 */
public class SearchFromEsChoose extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 代码 */
    @Excel(name = "代码")
    private String symbol;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 行业 */
    @Excel(name = "行业")
    private String industry;

    /** 赞成的人数 */
    @Excel(name = "赞成的人数")
    private Long modeNumber;

    /** 最大分数 */
    @Excel(name = "最大分数")
    private Double maxScore;

    /** 最小分数 */
    @Excel(name = "最小分数")
    private Double minScore;

    /** 平均分数 */
    @Excel(name = "平均分数")
    private Double avgScore;

    /** 创建日期 */
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 模型类型 */
    @Excel(name = "模型类型")
    private String symbolType;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSymbol(String symbol)
    {
        this.symbol = symbol;
    }

    public String getSymbol()
    {
        return symbol;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setIndustry(String industry)
    {
        this.industry = industry;
    }

    public String getIndustry()
    {
        return industry;
    }
    public void setModeNumber(Long modeNumber)
    {
        this.modeNumber = modeNumber;
    }

    public Long getModeNumber()
    {
        return modeNumber;
    }

    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }
    public void setSymbolType(String symbolType)
    {
        this.symbolType = symbolType;
    }

    public String getSymbolType()
    {
        return symbolType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("symbol", getSymbol())
            .append("name", getName())
            .append("industry", getIndustry())
            .append("modeNumber", getModeNumber())
            .append("maxScore", getMaxScore())
            .append("minScore", getMinScore())
            .append("avgScore", getAvgScore())
            .append("createDate", getCreateDate())
            .append("symbolType", getSymbolType())
            .toString();
    }

    public Double getMaxScore() {
        return maxScore;
    }

    public void setMaxScore(Double maxScore) {
        this.maxScore = maxScore;
    }

    public Double getMinScore() {
        return minScore;
    }

    public void setMinScore(Double minScore) {
        this.minScore = minScore;
    }

    public Double getAvgScore() {
        return avgScore;
    }

    public void setAvgScore(Double avgScore) {
        this.avgScore = avgScore;
    }
}
